<!-- toaster directive -->
<toaster-container
	toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
<!-- / toaster directive -->

<!-- 导航条 -->
<div class="bg-white bread-crumb">
	<ul class="breadcrumb b-a m-b-n-xs lter b-b wrapper-md">
		<li><a ui-sref="main.tpl.homePage"><i class="fa fa-home"></i> 首页</a></li>
		<li><a ui-sref="main.plat.messagePlat.list">资讯信息管理</a></li>
		<li class="active" ng-bind="title"></li>
	</ul>
</div>

<!-- 内容区域 -->
<div class="wrapper-md content">
	<div class="panel panel-default">
		<!-- 头部 -->
		<div class="panel-heading font-bold">{{title}}
			<a class="btn btn-sm btn-icon btn-rounded btn-default pull-right m-t-n-xs" ui-sref="main.plat.messagePlat.list"><i class="text-md fa fa-times text-muted"></i></a>
		</div>

		<!--表单-->
		<div class="panel-body">
			<form class="form-horizontal" name="user_form">
				<!-- <div class="form-group">
                  	<div class="row">
                  		<label class="col-sm-2 control-label pull-right"></label>
                  		<label class="col-sm-1 control-label pull-right"><button class="btn btn-success" ng-if="record.isModify=='Y'" ui-sref="main.plat.messagePlat.update({id: record.messageId})">修改</button></label>
					</div>
                </div> -->
			
				<!--资讯标题-->
				<div class="form-group">
					<label class="col-lg-2 col-sm-3 control-label">资讯标题:</label> <label class="control-label">{{record.messageTitle | limitTo:50}}</label>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				
				<!--资讯平台-->
				<div class="form-group">
					<label class="col-lg-2 col-sm-3 control-label">资讯平台:</label> <label class="control-label">{{record.platName | limitTo:50}}</label>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>

				<!--资讯图片-->
				<div class="form-group">
                    <label class="col-lg-2 col-sm-3 control-label">封面图片:</label><label class="control-label">
						<a target='_blank' href='{{record.messageImg}}'><img alt='' height='50' width='50' src='{{record.messageImg}}'></a>
					</label>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				
				<!-- 发布栏目-->
				<div class="form-group">
					<label class="col-lg-2 col-sm-3 control-label">发布栏目:</label> <label class="control-label" >{{record.publishSub}}</label>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				
				<!-- 媒体来源-->
				<div class="form-group">
					<label class="col-lg-2 col-sm-3 control-label">媒体来源:</label> <label class="control-label">{{record.mediaSource}}</label>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				
				<!-- 作者-->
				<div class="form-group">
					<label class="col-lg-2 col-sm-3 control-label">作者:</label> 
					<label class="control-label" title="{{record.author}}">{{record.author | limitTo:50}}</label>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				
				<div ng-show="record.requestFlag == 1 || record.requestFlag == null || record.requestFlag == ''">
                    <!--资讯内容-->
                    <div class="form-group">
                        <label class="col-lg-2 col-sm-3 control-label" for="userType">资讯内容:</label>
                        <div class="col-sm-6">
                            <textarea style="height: 300px" name="model.article_conten" id="messageContent"></textarea>
                        </div>
                    </div>
                    <div class="line line-dashed b-b line-lg pull-in"></div>
				</div>
				
				<div ng-show="record.requestFlag == 2">
                    <!--资讯内容-->
                    <div class="form-group">
                        <label class="col-lg-2 col-sm-3 control-label">资讯内容:</label><textarea rows="15" cols="120" style="font-size: 15;font-weight: normal;">{{record.messageContent}}</textarea>
                    </div>
                    <div class="line line-dashed b-b line-lg pull-in"></div>
				</div>
				
				<div class="form-group">
					<label class="col-sm-1 control-label pull-right">
						<a ui-sref="main.plat.messagePlat.list"><button class="btn btn-default w-xs">返回</button></a>
					</label> 
				</div>
			</form>
		</div>
	</div>
</div>